package com.ncf.jucai.mybatis;

/**
 * @author lichengwen
 * @since 2016/4/7 15:24
 */
public class Pagination {
    public final int offset;
    public final int limit;

    private int totalCount;

    public Pagination(int offset, int limit) {
        this.offset = offset;
        this.limit = limit;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    @Override
    public String toString() {
        return "Pagination [offset=" + offset + ", limit=" + limit
                + ", totalCount=" + totalCount + "]";
    }

}
